package zjhr.com.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import zjhr.com.pojo.ZjFactory;
import zjhr.com.pojo.ZjFactoryExample;

public interface ZjFactoryMapper {
    int countByExample(ZjFactoryExample example);

    int deleteByExample(ZjFactoryExample example);

    int deleteByPrimaryKey(String id);

    int insert(ZjFactory record);

    int insertSelective(ZjFactory record);

    List<ZjFactory> selectByExample(ZjFactoryExample example);

    ZjFactory selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") ZjFactory record, @Param("example") ZjFactoryExample example);

    int updateByExample(@Param("record") ZjFactory record, @Param("example") ZjFactoryExample example);

    int updateByPrimaryKeySelective(ZjFactory record);

    int updateByPrimaryKey(ZjFactory record);
    
    List<ZjFactory> selectIdAndName();
    
    List<ZjFactory> selectListByPageQuery(Integer start,Integer rows);
    
    int saveOrUpdate(ZjFactory record);
}